package com.wealth.system.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import com.wealth.system.entity.SSQ;

/**
 * 
 * @author chan
 */

@Repository
public interface SSQDao extends PagingAndSortingRepository<SSQ, Long>, JpaSpecificationExecutor<SSQ> {
	

	List<SSQ> findByPidAndIdNot(Long pid,Long id);
	
	List<SSQ> findByPid(Long pid);
	
}


